//----------------------------------Include-------------------------------------
#include <stdio.h>
#include <string.h>
#include <stdint.h>

#include "mcu.h"
#include "board.h"
#include "glbvar.h"
#include "calc.h"
//------------------------------------------------------------------------------

//-----------------------------------Macro--------------------------------------
//------------------------------------------------------------------------------

//---------------------------------Static Var-----------------------------------
//------------------------------------------------------------------------------

//--------------------------------Static Func-----------------------------------
//------------------------------------------------------------------------------

//--------------------------------Public Func-----------------------------------
int main(void)
{
  calc_init();
  brd_init();
  
  while(1){
    if(igu32_bufflag){
      igu32_bufflag = 0;
      calc_para();
      mcu_led_toggle();
    }
  }
}
//------------------------------------EOF---------------------------------------


